package com.aspose.cells;

public class XpsSaveOptions extends SaveOptions {
   private ImageOrPrintOptions a;

   public XpsSaveOptions() {
      this.c = 20;
      this.a = new ImageOrPrintOptions();
      this.a.setSaveFormat(this.c);
   }

   public XpsSaveOptions(int saveFormat) {
      this.c = saveFormat;
      this.a = new ImageOrPrintOptions();
      this.a.setSaveFormat(this.c);
   }

   static XpsSaveOptions a(SaveOptions var0) {
      XpsSaveOptions var1;
      if (var0 instanceof XpsSaveOptions) {
         var1 = (XpsSaveOptions)var0;
         return var1;
      } else {
         var1 = new XpsSaveOptions();
         return var1;
      }
   }

   ImageOrPrintOptions b() {
      return this.a;
   }

   public boolean getOnePagePerSheet() {
      return this.a.getOnePagePerSheet();
   }

   public void setOnePagePerSheet(boolean value) {
      this.a.setOnePagePerSheet(value);
   }

   public int getPageIndex() {
      return this.a.e();
   }

   public void setPageIndex(int value) {
      this.a.b(value);
   }

   public int getPageCount() {
      return this.a.f();
   }

   public void setPageCount(int value) {
      this.a.c(value);
   }
}
